package com.bjsxt.chapter3_builder;

/**
 * @ClassName Client
 * @Description
 * @Author 黑马程序员
 * @Date 18:05 2024/6/20
 * @Version 1.0
 **/
public class Client {
    public static void main(String[] args) {
        AirShipDirector director = new SxtAirShipDirector(new SxtAirShipBilder());
        AirShip airShip = director.directAirShip();
        airShip.launch();
        System.out.println(airShip.getEngine().getName());
        System.out.println(airShip.getOrbitalModule().getName());
        System.out.println(airShip.getEscapeTower().getName());
    }
}
